import 'package:finance_app/generated/json/base/json_convert_content.dart';
import 'package:finance_app/generated/json/base/json_field.dart';

class PaymentTermEntity with JsonConvert<PaymentTermEntity> {
  int id;
  @JSONField(name: "company_id")
  int companyID;
  String name;
  String description;
  @JSONField(name: "payment_term_type")
  String paymentTermType;
  @JSONField(name: "due_after")
  int dueAfter;
  @JSONField(name: "is_default_for_customer")
  int isDefaultForCustomer;
  @JSONField(name: "is_default_for_supplier")
  int isDefaultForSupplier;
  @JSONField(name: "created_by")
  String createdBy;
  @JSONField(name: "created_at")
  String createdAt;
  @JSONField(name: "updated_at")
  String updatedAt;
}
